package factory;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TeacherStrategy implements Calc {

    private static final Logger LOGGER = LoggerFactory.getLogger(TeacherStrategy.class);
    public void run(int length) {
        LOGGER.info("老师跑完{}米需要{}秒",length,length/10);
    }

    @Override
    public void drink(int length) {
        LOGGER.info("老师喝完{}毫升水需要{}秒",length,length/13);
    }
}
